﻿using HardcoreGame.Common.CustomSets;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace HardcoreGame.Content.Items.Weapons.Sets.Sleep
{
    public class DreamShuriken : ModItem
    {
        public override void SetStaticDefaults()
        {
            CustomItemSets.SleepWeapon[Type] = true;
        }
        public override void SetDefaults()
        {
            Item.damage = 2;
            Item.useStyle = 1;
            Item.useAnimation = 14;
            Item.useTime = 14;
            Item.shootSpeed = 16f;
            Item.knockBack = 2.5f;
            Item.width = 22;
            Item.height = 22;
            Item.value = Item.sellPrice(0, 0, 15, 56);
            Item.rare = ItemRarityID.Orange;
            Item.DamageType = DamageClass.Ranged;
            Item.noMelee = true;
            Item.noUseGraphic = true;
            Item.autoReuse = true;
            Item.UseSound = SoundID.Item1;
            Item.shoot = ModContent.ProjectileType<Projectiles.Sets.Sleep.DreamShuriken>();
        }
    }
}
